using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "ViewVolumeType")]
    public class ViewVolume : ObjectType
	{
        private double leftFovField;
        private double rightFovField;
        private double bottomFovField;
        private double topFovField;
        private double nearField;

        public ViewVolume()
        {
            this.leftFovField = 0;
            this.rightFovField = 0;
            this.bottomFovField = 0;
            this.topFovField = 0;
            this.nearField = 0;
        }

        
        [XmlElement(ElementName = "leftFov", DataType = "double")]
        [DefaultValue(0)]
        public double leftFov
        {
            get
            {
                return this.leftFovField;
            }
            set
            {
                this.leftFovField = value;
            }
        }

        [XmlElement(ElementName = "rightFov", DataType = "double")]
        [DefaultValue(0)]
        public double rightFov
        {
            get
            {
                return this.rightFovField;
            }
            set
            {
                this.rightFovField = value;
            }
        }
        [XmlElement(ElementName = "bottomFov", DataType = "double")]
        [DefaultValue(0)]
        public double bottomFov
        {
            get
            {
                return this.bottomFovField;
            }
            set
            {
                this.bottomFovField = value;
            }
        }
        [XmlElement(ElementName = "topFov", DataType = "double")]
        [DefaultValue(0)]
        public double topFov
        {
            get
            {
                return this.topFovField;
            }
            set
            {
                this.topFovField = value;
            }
        }

        [XmlElement(ElementName = "near", DataType = "double")]
        [DefaultValue(0)]
        public double near
        {
            get
            {
                return this.nearField;
            }
            set
            {
                this.nearField = value;
            }
        }
    }
}

